<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
    
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
<style type="text/css">
div{
	background: white;
	width:800px;
	margin: 0 auto; 
}
</style>
<script type="text/javascript" src="../js/jquery-1.8.3.js"></script>
</head>
<body>
	<div>
	<form action="update" method="post">
		<table border="1px" cellpadding="10" cellspacing="0px" >
		<caption>添加用户</caption>
		<thead>
			<tr align="center">
				<td>姓名</td>
				<td>年龄</td>
				<td>邮箱</td>
				<td>手机</td>
				<td align="center" colspan="2">操作</td>
			</tr>
		</thead>
		<tbody>
			<tr>
				<td><input type="text" name="name" value="<s:property value='name'/>"/></td>
				<td><input type="text" name="age" value="<s:property value='age'/>"/></td>
				<td><input type="text" name="email" value="<s:property value='email'/>"/></td>
				<td>
					<input type="text" name="phone" value="<s:property value='phone'/>"/>
					<input type="hidden" name="id" value="<s:property value='id'/>"/>
				</td>
				<td align="center" colspan="2">
				<input type="submit" value="提交" />
				<input type="reset" value="重置" />
				</td>
			</tr>
		</tbody>
		</table>
	</form>
</div>
</body>
</html>